 |
|
 |
Subject: Connecting to Sharepoint Web Service on IIS from Lotus Notes 8.5.2 |
 |
 |
 |
Product Area: Notes 8 Client |
 |
Technical Area: Application development |
 |
Platform: Windows Vista client |
 |
Release: 8.0.2 |
 |
Reproducible: -Reproducibility- |
 |
 |
 |
 |
Lotus Notes products v8.5.2
Windows server 2008R2
Windows 7 SP1 64bt
Java JDK v1.7
The main target is to achive NTLM v2 authotization consuming web service on Sharepoint IIS web server.
If IIS and all levels of security on Sharepoint is set to Anonymous web service consumption works perfectly (by axis 1.4).
If Sharepoint set rights only for NT Domain user then Java Agent gets 401 error.
Ran java agent from my designer (8.5.2), by web browser (IE 8), by schedule (on domino server 8.5.2).
Then i try to use Apache CXF, example is here:
http://www.bizzybee.be/2013/01/23/creating-a-java-webservice-client-in-domino-using-apache-cxf/
Running from Eclipce was successful (java 1.7), IIS authorises me, web service command executed.
Running same code from my Lotus designer (java 1.6) results in error in java console:
javax.xml.ws.WebServiceException: Failed to access the WSDL at: http://x.com/sites/itprojects2/_layouts/EvrazProjects/WS/EvrazWebService.asmx?wsdl.
Java Agent code:
import lotus.domino.*;
import org.tempuri.*;
import java.io.File;
import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;
public class JavaAgent extends AgentBase {
private static final QName SERVICE_NAME = new QName("http://tempuri.org/", "CreateSite");
public void NotesMain() {
try {
String serviceURL = "http://x.com/sites/itprojects2/_layouts/EvrazProjects/WS/EvrazWebService.asmx?wsdl";
URL wsdlURL = new URL(serviceURL);
CreateSite ss = new CreateSite(wsdlURL, SERVICE_NAME);
CreateSiteSoap port = ss.getCreateSiteSoap();
port.createProjectSite("889", "889", "Test889", "889", "889", "889", "889", "889");
} catch(Exception e) {
e.printStackTrace();
}
}
}
Agent security level set to 3.
Question is: is there any possibility to get NTLM v2 autorisation from Lotus 8.5x to connect web service?
 
Feedback number WEBB95PFW3 created by ~Bella Nimjipyzen on 03/11/2013


|
|  |
|